﻿// ***********************************************************************
// Assembly         : MVC4Portal
// Author           : LJO+01 (Laurent Jordi)
// Created          : 06-05-2013
// Last Modified By : LJO+01 (Laurent Jordi)
// Last Modified On : 06-05-2013
// ***********************************************************************
// <copyright file="DynaContentViewModel.cs" company="Copyright © Innovacall 2011">
//     Copyright (c) Copyright © Innovacall 2011. All rights reserved.
// </copyright>
// <summary></summary>
// ***********************************************************************
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InnovaApp.Portals.MVC4Portal.Models.MetaModels.ContentManagement;
using INNOVACALL.Framework.Common.Models.ViewModels.MetaModels.LayoutMenus;
using INNOVACALL.Framework.Common.MVCHelpers.Localization;

namespace InnovaApp.Portals.MVC4Portal.Models.ViewModels.LayoutViewModels.DynaContentViewModels
{
    /// <summary>
    /// Class DynaContent_ViewModel
    /// </summary>
    public class DynaContent_ViewModel : _DynaContentViewModels_Base
    {
        /// <summary>
        /// Gets or sets the name of the controller.
        /// </summary>
        /// <value>The name of the controller.</value>
        public string ControllerName { get; set; }
        /// <summary>
        /// Gets or sets the structure page.
        /// </summary>
        /// <value>The structure page.</value>
        public Structure_Page_MetaModel StructurePage { get; set; }
        /// <summary>
        /// Gets or sets the content of the managed.
        /// </summary>
        /// <value>The content of the managed.</value>
        public ManagedContent_MetaModel ManagedContent { get; set; }
        /// <summary>
        /// Gets or sets the menu.
        /// </summary>
        /// <value>The menu.</value>
        public LayoutMenu_MetaModel Menu { get; set; }
        /// <summary>
        /// Gets or sets the controllers.
        /// </summary>
        /// <value>The controllers.</value>
        public SelectableControllerCollection Controllers { get; set; }
        /// <summary>
        /// Initializes a new instance of the <see cref="DynaContent_ViewModel"/> class.
        /// </summary>
        public DynaContent_ViewModel()
        {
            this.StructurePage = null;
            this.ManagedContent = null;
            this.Menu = new LayoutMenu_MetaModel();
            this.Controllers = new SelectableControllerCollection();
        }
    }
}